package com.ai.entity.file;

import java.time.LocalTime;
import java.util.Date;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * (Audio)表实体类
 *
 * @author sheng
 * @since 2024-05-15 10:13:23
 */
@Getter
@Setter
@Data
public class Audio extends Model<Audio> {
    @ApiModelProperty(value = "主键,主键ID")
    private Integer id;



    @ApiModelProperty(value = "数据添加时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;


    @ApiModelProperty(value = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;

    @ApiModelProperty(value = "音频别名")
    private String remark;

    @ApiModelProperty(value = "创建人")
    private String createUser;

    @ApiModelProperty(value = "更新人")
    private String updateUser;

    @ApiModelProperty(value = "音频文件地址")
    private String url;

    @ApiModelProperty(value = "音频名")
    private String audioName;

    @ApiModelProperty(value = "音频后缀名")
    private String suffix;

    @ApiModelProperty(value = "功能类型")
    private String functionType;

    /**
     * 获取主键值
     *
     * @return 主键值
     */
    @Override
    public Serializable pkVal() {
        return this.id;
    }
}

